-
Home
-
Leat
-
2.4.10 (latest)
-
Code
-
Classes
- WPSpendRuleRepository
| Total Complexity |
38 |
| Dependencies |
7 |
| Dependents |
2 |
| Total lines |
344 |
| Lines of code |
203 |
| Logical lines of code |
88 |
| Comment lines |
86 |
| Methods |
11 |
| Properties |
2 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_or_update() |
S |
44 |
6 |
45 |
| get_coupons_by_user_id() |
S |
53 |
6 |
24 |
| get_rules_by_type() |
S |
50 |
5 |
30 |
| get_applicable_rule() |
S |
58 |
5 |
16 |
| create_or_update_from_reward() |
S |
54 |
3 |
22 |
| get_by_uuid() |
S |
55 |
3 |
19 |
| get_rules() |
S |
57 |
3 |
16 |
| delete_by_uuid() |
S |
57 |
2 |
17 |
| get_by_id() |
S |
68 |
3 |
7 |
| __construct() |
S |
77 |
1 |
4 |
| get_active_rules() |
S |
79 |
1 |
3 |